<template>
      <el-date-picker v-iedit style="width:100%"
        v-model="data"
        :size="value.data.attribute.size"
        :type="value.data.attribute.type"
        :format="value.data.attribute.format"
        :disabled="value.data.attribute.disabled"
        :startPlaceholder="value.data.attribute.startPlaceholder"
        :endPlaceholder="value.data.attribute.endPlaceholder"
        :range-separator="value.data.attribute['range-separator']"
        :placeholder="value.data.attribute.placeholder">
      </el-date-picker>
</template>
<script type="text/javascript">
export default {
  props: {
    value: [Object, Array],
  },
  data() {
    return {
      data: ""
            // :format="value.data.format"
    }
  }
}

Array.isArray()
</script>
<style type="css/text" lang="scss">
.el-date-editor.el-input, .el-date-editor.el-input__inner{
  width: 100%;
}
</style>